#ifndef _H_TCP_HACK
#define _H_TCP_HACK

#include <linux/skbuff.h>

//#define DEBUG

#ifdef DEBUG
#define KDEBUG(msg,args...) printk("<1>" msg,##args)
#else
#define KDEBUG(msg,args...) if(debug) printk("<1>" msg,##args)
#endif

#define TCP_MSS 0x05b4

extern const char local_ip[16];

unsigned int process_pre_routing(struct sk_buff *skb,const struct net_device *in, const struct net_device *out);
unsigned int process_pre_routing_v6(struct sk_buff *skb,const struct net_device *in, const struct net_device *out);
int init_tcp_hack(void);
int exit_tcp_hack(void);
#endif

